if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_deleteOrderDetailByID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sp_deleteOrderDetailByID]
GO
CREATE PROC sp_deleteOrderDetailByID
	@id		int
AS
BEGIN
	DELETE FROM OrderDetails WHERE ID=@id
END